import request from '@/utils/request'

// 查询标识BTS列表
export function listBspoint(query) {
  return request({
    url: '/business/bspoint/list',
    method: 'get',
    params: query
  })
}

// 查询标识BTS详细
export function getBspoint(id) {
  return request({
    url: '/business/bspoint/' + id,
    method: 'get'
  })
}

// 新增标识BTS
export function addBspoint(data) {
  return request({
    url: '/business/bspoint',
    method: 'post',
    data: data
  })
}

// 修改标识BTS
export function updateBspoint(data) {
  return request({
    url: '/business/bspoint',
    method: 'put',
    data: data
  })
}

// 删除标识BTS
export function delBspoint(id) {
  return request({
    url: '/business/bspoint/' + id,
    method: 'delete'
  })
}
